package com.lgx.common.web;

import java.util.ArrayList;
import java.util.List;

import com.lgx.right.entity.Permission;

/**
 * 
 * @author acer
 *
 */
public class Constants {
	
	//session失效标记
	public static boolean SESSION_TIMEOUT_FLAG = false;
	
	//session失效时的URL
	public static String SESSION_TIMEOUT_URL = "";

	//用户在session中的标记
	public static final String LOGIN_USER = "s_user";
	
	//用户在线数
	public static final String ONLINE_USER = "online_user";
	
	//操作权限
	public static List<Permission> operates = new ArrayList<Permission>();
	
	public static final String PAGE_SIZE = "20";
	
	public static final String FIRST_PAGE_NUM = "1";
	
	//商家外卡消费返利
	public static final String MCREBATE_ORGOUTCARD_CODE = "mcrebate_orgoutcard_type";
	public static Double MCREBATE_ORGOUTCARD_TYPE = 0d;
	
	//推广站会员消费返利
	public static final String MCREBATE_PROMOTIONSTATION_CODE = "mcrebate_promotionstation_type";
	public static Double MCREBATE_PROMOTIONSTATION_TYPE = 0d;
	
	//推广中心充值返利
	public static final String BRREBATE_PROMOTIONCENTER_CODE = "brrebate_promotioncenter_type";
	public static Double BRREBATE_PROMOTIONCENTER_TYPE = 0d;
		
	//运营中心充值返利
	public static final String BRREBATE_OPERATIONCENTER_CODE = "brrebate_operationcenter_type";
	public static Double BRREBATE_OPERATIONCENTER_TYPE = 0d;
	
	public static final String VALIDATE_CODE = "validate_code";
}
